package net.siren93.smh.entity.response;

import java.io.Serializable;

/**
 * Created by siren93 on 15/9/25.
 */
public class BaseResponse implements Serializable{

    public static final String STATUS_SUCCESS = "success";
    public static final String STATUS_FAILED = "failed";

    private String status;
    private String msg;
    private Object data;

    public BaseResponse(String status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
